//: Playground - noun: a place where people can play

var shanshouxian = ["1","2","3","4"]
shanshouxian.insert("0", atIndex: 0)

//似乎没办法用-1


//创建多个相同值的方法
var b = [String](count: 12, repeatedValue: "3")

var k = ["yy":"xx","oo":"xx"]
k["yy"]
k.count

k.updateValue("zz", forKey: "xy")
k
k["xxx"]
k.removeValueForKey("yy")
k
for(key,value) in k {
    print(key+"\n")
}
//数组的创建和销毁
var a = [String:Int]()
a["df"]=3
a



